-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syncoid: Fix typo preventing resumed transfer with --sendoptions
#919
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, pls resolve the minor things and i will test it.
The `runsynccmd` subroutine was not matching the `$sendsource` when a receive resume token is passed in. All usages that pass in the receive resume token do not begin with a space; instead, they start with `-t `. Fixes: jimsalterjrs#918
@phreaker0 tag me when this looks ready to you, please :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Deltik thx for the adaptions, i tested the PR and it looks good. thanks
@jimsalterjrs ready |
Would be awesome to have this merged |
Motivation and Context
Fixes: #918
Description
fix(syncoid): zfs send arg allowlist when sendsource is receivetoken
The
runsynccmd
subroutine was not matching the$sendsource
when a receive resume token is passed in. All usages that pass in the receive resume token do not begin with a space; instead, they start with-t
.How Has This Been Tested?
All the existing syncoid tests pass, and the new one I added based on the test in #918 also passes.
Before
After
Types of Changes